package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 车位管理对象 t_carport
 * 
 * @author ruoyi
 * @date 2022-11-29
 */
public class TCarport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车位ID */
    private Long id;

    /** 车位名 */
    @Excel(name = "车位名")
    private String carportname;

    /** 与t_area表主键关联，区域Id */
    @Excel(name = "与t_area表主键关联，区域Id")
    private Long aid;

    /** 与t_areatype表主键关联，车位类型 */
    @Excel(name = "与t_areatype表主键关联，车位类型")
    private Long tid;
    
    /** 与t_proprietor表主键关联，业主信息 */
    @Excel(name = "与t_proprietor表主键关联，业主信息")
    private Long pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCarportname(String carportname) 
    {
        this.carportname = carportname;
    }

    public String getCarportname() 
    {
        return carportname;
    }
    public void setAid(Long aid) 
    {
        this.aid = aid;
    }

    public Long getAid() 
    {
        return aid;
    }
    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carportname", getCarportname())
            .append("aid", getAid())
            .append("tid", getTid())
            .append("pid", getPid())
            .toString();
    }
}
